import {postAction} from "@api/manage";

export const getRegion = params => postAction("/electricity/provinces", params, {urlName: '获取交费支持的省份列表',showLoading: false})
export const arrearage = params => postAction("/electricity/arrearage/form", params, '欠费查询')
export const placeOrder = params => postAction("/electricity/placeorder", params,{urlName: '电费交费下单', showLoading: false})
export const prepayOrder = params => postAction("/payment/prepayorder", params, '电e宝收银台预下单')
export const queryOrder = params => postAction("/electricity/queryorder", params, {urlName: '交易记录详情', ignore: true, })
export const queryOrderLoading = params => postAction("/electricity/queryorder", params, {urlName: '交易记录详情', ignore: true, showLoading: false})
export const queryTicket = params => postAction("electricity/queryTicket", params, '打印票据详情')
